//
//  MJTabBar.h
//  00-ItcastLottery
//
//  Created by apple on 14-4-14.
//  Copyright (c) 2014年 itcast. All rights reserved.
//

#import <UIKit/UIKit.h>
//解决循环引用
@class ZHTabBar;

@protocol MJTabBarDelegate <NSObject>

@optional

- (void)tabBar:(ZHTabBar *)tabBar didSelectButtonFrom:(int)from to:(int)to;

@end

@interface ZHTabBar : UIView
@property (nonatomic, weak) id<MJTabBarDelegate> delegate;

- (void)addTabButtonWithName:(NSString *)name selName:(NSString *)selName;

@end
